package com.qingzhou.auth.config;

import org.noear.solon.annotation.Bean;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.auth.AuthAdapter;

/**
 * 安全配置
 * @author xm
 */
@Configuration
public class AuthConfig {

    /**
     * 鉴权处理
     * @return
     */
    @Bean
    public AuthAdapter authAdapter() {
        // 空鉴权
        return new AuthAdapter();
    }

}
